#ifndef _TYPES_
#define	_TYPES_
#include <stdint.h>
typedef unsigned char byte;
#endif

#ifndef OBJECT_SCRIPT_LENGTH

/**
 * String length of object script name.
 */
#define OBJECT_SCRIPT_LENGTH 10
#endif

#ifndef NO_SPRITE

/** 
 * Sprite index specifying no sprite in map. (0xFFFFFFFF)
 */
#define NO_SPRITE 65535
#endif

#ifndef FOREGROUND_LAYER

/** 
* Layer index at which foreground layers begin.
*/
#define FOREGROUND_LAYER 3
#endif

#ifndef LAYERS

/** 
* Number of map layers.
*/
#define LAYERS 5
#endif
